FROM nginx:stable-alpine-slim

WORKDIR /app

COPY docker-entrypoint.sh /
COPY lpszoj.conf /etc/nginx/conf.d/

ENTRYPOINT ["sh","/docker-entrypoint.sh"]

EXPOSE 3306
# 定义容器启动时执行的命令
#CMD ["nginx"]